home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 011 / pchelp.arc / ERRLEV.### < prev    next >
Encoding:
Text File  |  1985-01-20  |  736 b   |  24 lines

  1. COMMAND:  ERRLEV (Error Level)                  DOCUMENTATION : On-line
  2.  
  3. FUNCTION: Sets the variable ERRORLEVEL to the ASCII code value of the upshifted
  4.           response to a question in a batch file.
  5.  
  6. FORMAT:   ERRLEV text
  7.  
  8. TYPE:     Public domain batch sub-command
  9.  
  10. REMARKS:  This batch command uses the ERRORLEVEL parameter to allow branching
  11.           in response to a question. The "text" is displayed on the screen
  12.           and the user responds with a character. All lowercase letters are
  13.           converted to uppercase and ERRORLEVEL is given the ASCII code value
  14.           of the response. ERRORLEVEL can then be interrogated using the batch
  15.           IF statement to branch appropriately.
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.